<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title></title>
	<hdjs/>
</head>
<body>
<div class="wrap">
		<div class="menu_list">
		    <ul>
		        <li><a href="{|U:'index'}"  class="action">文章列表</a></li>
		        <li><a href="{|U:'add'}">添加文章</a></li>
		    </ul>
		</div> 
<div class="tab">
<form method="post">
<ul class="tab_menu">
<li lab="base">
<a> 基本设置 </a>
</li>
<li lab="other" class="action">
<a> 其他设置 </a>
</li>
</ul>
<div class="tab_content">
<div id="base">
	<table class="table1 hd-form">
		<tr>
			<td class="w100">栏目</td>
			<td>
				<select name="cid" id="" class="w150">
					<option value="0">***当前栏目***</option>
					<list from='$cat' name='$c'>
					<option value="{$c.cid}">{$c._name}</option>
					</list>
				</select>
			</td>
		</tr>
		<tr>
			<td>标题</td>
			<td><input type="text" name="title" class="w200"></td>
		</tr>
		<tr>
			<td>略缩图</td>
			<td>
				<upload name="thumb" size="3" limit="3"/>
			</td>
		</tr>
		<tr>
			<td>正文</td>
			<td>
				<ueditor name="content"/>
			</td>
		</tr>
	</table>
</div>
<div id="other">
<table class="table1 hd-form">
		<tr>
			<td>发表时间</td>
			<td>
			<input type="text" readonly="readonly" id="addtime" 
			name="addtime" value="{|date:'Y-m-d H:i:s'}" class="w150"/>
			<script>
	$('#addtime').calendar({format: 'yyyy/MM/dd HH:mm:ss'});
 </script>
			</td>
		</tr>
		<tr>
			<td>关键字</td>
			<td>
				<input type="text" name="keywords">
			</td>
		</tr>
		<tr>
			<td>描述</td>
			<td>
				<textarea name="description" class="w200 h80"></textarea>
			</td>
		</tr>
		<tr>
			<td>点击数</td>
			<td>
				<input type="text" name="click">
			</td>
		</tr>
</table>
</div>
</div>

</div>
<div class="position-bottom">
	<input type="submit" class="hd-success">
</div>
<js file="__CONTROLLER_VIEW__/Js/js.js"/>
</form>	
</div>
</body>
</html>